package com.mh.service;

import java.util.List;
import java.util.Set;

import com.mh.domain.AppRole;

/**
 * Spring service that handles CRUD requests for AppRole entities
 * 
 */
public interface AppRoleService {

	/**
	 * Load an existing AppRole entity
	 * 
	 */
	public Set<AppRole> loadAppRoles();

	/**
	 * Return all AppRole entity
	 * 
	 */
	public List<AppRole> findAllAppRoles(Integer startResult, Integer maxRows);

	/**
	 * Delete an existing AppRole entity
	 * 
	 */
	public void deleteAppRole(AppRole approle);

	/**
	 * Save an existing AppRole entity
	 * 
	 */
	public void saveAppRole(AppRole approle_1);

	/**
	 */
	public AppRole findAppRoleByPrimaryKey(Integer id);

	/**
	 * Return a count of all AppRole entity
	 * 
	 */
	public Integer countAppRoles();
	
	public List<AppRole> findAllAppRole(AppRole approle, Integer startResult, Integer maxRows);
	
	public Set<AppRole>  findAppRoles(AppRole appRole) ;
	
}